package com.IntelligentCommunity.community.domain;

import com.IntelligentCommunity.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 实有房屋对象 real_estate
 *
 * @author IntelligentCommunity
 * @date 2024-07-21
 */
@Data
public class RealEstate
{
    private static final long serialVersionUID = 1L;

    /** 主键，唯一标识 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 房屋类型 */
    @Excel(name = "房屋类型")
    private Long propertyType;

    /** 建造日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "建造日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date constructionDate;

    /** 小区id */
    @Excel(name = "小区id")
    private Long districtId;

    /** 房屋图片 */
    @Excel(name = "房屋图片")
    private String picture;

    /** 楼栋 */
    @Excel(name = "楼栋")
    private Long ridgepole;

    /** 单元 */
    @Excel(name = "单元")
    private Long element;

    /** 楼层 */
    @Excel(name = "楼层")
    private Long tier;

    /** 房间号 */
    @Excel(name = "房间号")
    private Long households;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 辖区名称
     */
    private String areaName;

    /**
     * 房屋类型
     */
    private String estateType;



    private String min;

    private String max;
    private String min1;

    private String max1;
}
